<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>new (DB_Table)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/DB_Table.rb, line 5</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">aFile</span> )
    
    <span class="ruby-ivar">@file</span> = <span class="ruby-identifier">aFile</span>
    <span class="ruby-ivar">@tableName</span> = <span class="ruby-value str">&quot;&quot;</span>
    <span class="ruby-ivar">@colNames</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>()
    <span class="ruby-ivar">@colDTypes</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>()
    <span class="ruby-ivar">@words</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
    <span class="ruby-ivar">@lines</span> = <span class="ruby-value str">&quot;&quot;</span>
    
    <span class="ruby-keyword kw">begin</span>
      <span class="ruby-identifier">no_comments</span>
    <span class="ruby-keyword kw">rescue</span>
      <span class="ruby-identifier">raise</span>
    <span class="ruby-keyword kw">end</span>
    
    <span class="ruby-keyword kw">begin</span>
      <span class="ruby-identifier">find_table_name</span>
    <span class="ruby-keyword kw">rescue</span>
      <span class="ruby-identifier">raise</span>
    <span class="ruby-keyword kw">end</span>
    
    <span class="ruby-keyword kw">begin</span>
      <span class="ruby-identifier">find_cols_types</span>
    <span class="ruby-keyword kw">rescue</span>
      <span class="ruby-identifier">raise</span>
    <span class="ruby-keyword kw">end</span>
    
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>